{include file="header.html"}
<div id="rightTop">
    <p>{$lang.ad}</p>
    <ul class="subnav">
        <li><a class="btn1" href="index.php?app=discount_activity">{$lang.manage}</a></li>
        <li><span>配置</span></li>
    </ul>
</div>
<div class="info">
    <form method="post" enctype="multipart/form-data">
        <table class="infoTable">
            <tr>
                <th class="paddingT15">
                    分享到朋友圈图片:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableFile2" id="killmoments_image" type="file" name="killmoments_image" value=""/>
                    <!--{if $info.killmoments_image}-->
                    <img class="show_image" src="{res file=style/images/preview.png}" />
                    <div style="position:absolute;left:400px; display:none;"><img style="width:400px;" src="{$info.killmoments_image}?{$random_number}" /></div>
                    <!--{/if}-->
                    <label class="field_notice">{$lang.limit_img}</label>
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    分享小程序图片:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableFile2" id="killfront_image" type="file" name="killfront_image" value=""/>
                    <!--{if $info.killfront_image}-->
                    <img class="show_image" src="{res file=style/images/preview.png}" />
                    <div style="position:absolute; left:400px;display:none"><img style="width: 400px;" src="{$info.killfront_image}?{$random_number}" /></div>
                    <!--{/if}-->
                    <label class="field_notice">{$lang.limit_img}</label>
                </td>
            </tr>
            <tr>
                <th></th>
                <td class="ptb20">
                    <input class="formbtn" type="submit" name="Submit" value="{$lang.submit}" />
                    <input class="formbtn" type="reset" name="Submit2" value="{$lang.reset}" />
                </td>
            </tr>
        </table>
    </form>
</div>
{include file="footer.html"}
<script>
    $(function () {
        $(".show_image").mouseover(function () {
            $(this).next("div").show();
        });
        $(".show_image").mouseout(function () {
            $(this).next("div").hide();
        });

    })
</script>
